package com.starsoft.smdc.job;

import org.quartz.JobExecutionContext;

import com.starsoft.frame.base.bean.BaseJobLog;
import com.starsoft.frame.base.job.AbstractJob;
import com.starsoft.frame.util.SpringContext;
import com.starsoft.smdc.crawler.joinquant.SmdcJoinQuantUpdate;

public class JoinQuantUpdateJob extends AbstractJob {

	@Override
	public void run(JobExecutionContext context, BaseJobLog jobLog) {
		SmdcJoinQuantUpdate joinUpdataService = SpringContext.getBean(SmdcJoinQuantUpdate.class);
		String result = joinUpdataService.updateAll();
		jobLog.setDesp(result);
	}

}
